﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace Motoball.screenmanager
{
    public class ModelSplashScreen : SplashScreen
    {
        protected BasicModel model;

        public ModelSplashScreen(string screenName)
            : base(screenName)
        {
        }

        public override void Draw(GameTime gameTime)
        {
            base.Draw(gameTime);
            model.Draw(Camera);
        }

        public void LoadContent(Model model)
        {
            this.model = new BasicModel(model);
        }


    }
}
